{include common/head}
<div class="container-scroller">
    {include common/header}
    <!-- partial -->
    <div class="container-fluid page-body-wrapper">
        {include common/sidebar}
      <!-- partial -->
      <div class="main-panel">
        <div class="content-wrapper">
            <div class="row">
                <div class="col-12">
                    <div class="card">
                        <div class="card-body">
                        <h4 class="card-title">使用方法</h4>
                            <div class="form-group">
                                <label for="exampleInputEmail1">授权代码：</label>
                               
                                <textarea type="text" class="form-control" style="height: 150px;" id="">
    if(!isset($_SESSION['authcode'])) {
        $query=file_get_contents('{#WWW}check.html/?url='.$_SERVER['HTTP_HOST']);
        if($query=json_decode($query,true)) {
            if($query['code']==1)$_SESSION['authcode']=true;
            else exit('<h3>'.$query['msg'].'</h3>');
        }
    }
                                </textarea>
                                <p class="text-info mt-2">复制上面的授权码到你的程序进行开发</p>
                                <p>可以get两个参数 url和path，url用于提交域名，path提交网站目录</p>
                                <p>未授权返回
                                    {
                                        'error':'0',
                                        'code':'0',
                                        'msg':"描述加JS统计代码"
                                    }
                                </p>
                                <p>已授权返回
                                    {
                                        'error':'1',
                                        'code':'1',
                                        'msg':"JS统计代码"
                                    }
                                </p>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
            <div class="row mt-3">
                <div class="col-12">
                    <div class="card">
                        <div class="card-body">
                        <h4 class="card-title">开发框架</h4>

                            <p>本系统后端使用php语言开发并使用了HYPHP框架，如需自己开发扩展请阅读HYPHP框架文档，后台模板使用了StarAdmin，交互提示使用Lobibox</p>
                            <p>HYPHP：<a href="http://php.hyphp.cn">http://php.hyphp.cn</a></p>
                            <p>StarAdmin：<a href="https://github.com/BootstrapDash/StarAdmin-Free-Bootstrap-Admin-Template">https://github.com/BootstrapDash/StarAdmin-Free-Bootstrap-Admin-Template</a></p>
                            <p>Lobibox：<a href="https://github.com/arboshiki/lobibox">https://github.com/arboshiki/lobibox</a></p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- content-wrapper ends -->
        <!-- partial:partials/_footer.html -->
        {include common/footer}
        <!-- partial -->
      </div>
      <!-- main-panel ends -->
    </div>
    <!-- page-body-wrapper ends -->
  </div>
  <!-- container-scroller -->
{include common/foot}